package com.leen.aspect.logdb;

/**
 * 模块枚举
 * @author wy
 */
public enum ModuleEnum {
    /**
     * 课程模块
     */
    COURSE_MODULE(1000,"课程模块"),
    /**
     * 课程模块
     */
    MOCK_MODULE(2000,"考试模块"),
    /**
     * 基础模块
     */
    BASE_MODULE(3000,"基础模块"),
    /**
     * 视频模块
     */
    VIDEO_MODULE(4000,"视频模块"),
    /**
     * 用户模块
     */
    USER_MODULE(5000,"用户模块")
    ;

    private int key;
    private String value;

    public int getKey() {
        return key;
    }

    public void setKey(int key) {
        this.key = key;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    ModuleEnum(int key, String value) {
        this.key = key;
        this.value = value;
    }
}
